package com.springcloud.zull.controller;


import com.springcloud.zull.feign.Service1GetFeignClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wfh
 */
@RestController
@RequestMapping("/")
public class Controller {

    @Autowired
    private Service1GetFeignClient service1GetFeignClient;

    @GetMapping("/get")
    public Object get() {

        return service1GetFeignClient.get();
    }
}
